package com.liangsui.cmall.member.feign;

import com.liangsui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * OrderFeignService
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/8/24 22:35
 */
@FeignClient("cmall-order")
public interface OrderFeignService {

    @PostMapping("/order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);
}
